package edu.tongji.jiaowu.service.impl;

import java.util.List;
import com.tongji.quickCRUDQ.service.impl.BaseManagerImpl;
import edu.tongji.jiaowu.dao.RestudyStudentDao;
import edu.tongji.jiaowu.service.RestudyStudentManager;
import com.tongji.quickCRUDQ.model.CommonBean;

public class RestudyStudentManagerImpl extends BaseManagerImpl implements RestudyStudentManager {
	private RestudyStudentDao restudyStudentDao;

	public CommonBean createRestudyStudent() {
		return restudyStudentDao.createRestudyStudent();
	}

	/*
	 public CommonBean findRestudyStudents(String refid) {
	 return restudyStudentDao.findRestudyStudents(refid);
	 }
	 */
	public CommonBean findRestudyStudentById(String id) {
		return restudyStudentDao.findRestudyStudentById(id);
	}

	public CommonBean findAllRestudyStudents() {
		return restudyStudentDao.findAllRestudyStudents();
	}

	public void insertRestudyStudent(CommonBean restudyStudentBean) {
		restudyStudentDao.insertRestudyStudent(restudyStudentBean);
	}

	public void updateRestudyStudent(CommonBean restudyStudentBean) {
		restudyStudentDao.updateRestudyStudent(restudyStudentBean);
	}

	public void loadRestudyStudents(String restudyYear, String restudySemester) {
		restudyStudentDao.loadRestudyStudents(restudyYear,restudySemester);
	}

	public RestudyStudentDao getRestudyStudentDao() {
		return restudyStudentDao;
	}

	public void setRestudyStudentDao(RestudyStudentDao restudyStudentDao) {
		this.restudyStudentDao = restudyStudentDao;
	}

}
